package com.brian.hystrix.web.service;

import org.springframework.stereotype.Service;

/**
 * Created by Brian on 2018/4/25 16:01
 */
@Service("remoteService")
public class RemoteService {

    public Object getUser() {
        try {
//            Thread.sleep(2500);
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "user";
    }
}

